from django.urls import path, include
from rest_framework import routers

from task.controllers.schedule import ScheduleViewSet
from task.controllers.task_log import TaskLogViewSet

router = routers.DefaultRouter(trailing_slash=False)
router.register(r'schedules', ScheduleViewSet)
router.register(r'task-logs', TaskLogViewSet)

urlpatterns = [
    path(r'', include(router.urls)),
]
